package com.engine.salary.entity.datacollection.dto;

import com.cloudstore.eccom.pc.table.WeaTableType;
import com.engine.salary.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 其他免税扣除记录列表
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@SalaryTable(pageId = "a4f85287-e3f9-6612-adn9-7d98e54y6rj8", tableType = WeaTableType.CHECKBOX)
@Auth(page = "specialAddDeduction")
public class SpecialAddDeductionRecordDTO {

    //主键id
    @SalaryTableColumn(column = "id", display = false)
    private Long id;

    //员工id
    private Long employeeId;

    private String username;

    //个税扣缴义务人
    @SalaryTableColumn(text = "个税扣缴义务人", width = "10%", column = "taxAgentName")
    @TableTitle(title = "个税扣缴义务人", dataIndex = "taxAgentName", key = "taxAgentName")
    private String taxAgentName;
    /**
     * 个税扣缴义务人id
     */
    private Long taxAgentId;


    //部门
    @SalaryTableColumn(text = "部门", width = "10%", column = "departmentName")
    @TableTitle(title = "部门", dataIndex = "departmentName", key = "departmentName")
    private String departmentName;

    //手机号
    @SalaryTableColumn(text = "手机号", width = "10%", column = "mobile")
    @TableTitle(title = "手机号", dataIndex = "mobile", key = "mobile")
    private String mobile;

    private String idNo;

    //工号
    @SalaryTableColumn(text = "工号", width = "10%", column = "jobNum")
    @TableTitle(title = "工号", dataIndex = "jobNum", key = "jobNum")
    private String jobNum;

    //子女教育
    @SalaryTableColumn(text = "子女教育", width = "10%", column = "childrenEducation")
    @TableTitle(title = "子女教育", dataIndex = "childrenEducation", key = "childrenEducation")
    @Encrypt
    private String childrenEducation;

    //继续教育
    @SalaryTableColumn(text = "继续教育", width = "10%", column = "continuingEducation")
    @TableTitle(title = "继续教育", dataIndex = "continuingEducation", key = "continuingEducation")
    @Encrypt
    private String continuingEducation;

    //住房贷款利息
    @SalaryTableColumn(text = "住房贷款利息", width = "10%", column = "housingLoanInterest")
    @TableTitle(title = "住房贷款利息", dataIndex = "housingLoanInterest", key = "housingLoanInterest")
    @Encrypt
    private String housingLoanInterest;

    //住房租金
    @SalaryTableColumn(text = "住房租金", width = "10%", column = "housingRent")
    @TableTitle(title = "住房租金", dataIndex = "housingRent", key = "housingRent")
    @Encrypt
    private String housingRent;

    //赡养老人
    @SalaryTableColumn(text = "赡养老人", width = "10%", column = "supportingElder")
    @TableTitle(title = "赡养老人", dataIndex = "supportingElder", key = "supportingElder")
    @Encrypt
    private String supportingElder;

    //大病医疗
    @SalaryTableColumn(text = "大病医疗", width = "10%", column = "seriousIllnessTreatment")
    @TableTitle(title = "大病医疗", dataIndex = "seriousIllnessTreatment", key = "seriousIllnessTreatment")
    @Encrypt
    private String seriousIllnessTreatment;

    //大病医疗
    @SalaryTableColumn(text = "婴幼儿照护", width = "10%", column = "infantCare")
    @TableTitle(title = "婴幼儿照护", dataIndex = "infantCare", key = "infantCare")
    @Encrypt
    private String infantCare;
}
